<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <form action="/uploadImg" method="POST" enctype="multipart/form-data">
    <p>
      用户名：<input type="text" name="username">
    </p>
    <p>
      年龄：<input type="text" name="age">
    </p>
    <p>
      上传头像：<input type="file" name="avatar">
    </p>
    <input type="submit" value="提交">
  </form>
</body>

</html>
